package graph;

public class Tester {

	
	public static void main(String args[]) {
		int topic = 933;
		String graphLocation = "C:\\Users\\Amos\\workspace\\Data\\selected\\"+topic+"\\res\\graph";
		String degreeLocation = "C:\\Users\\Amos\\workspace\\Data\\selected\\"+topic+"\\sum\\degree";
		String strengthLocation = "C:\\Users\\Amos\\workspace\\Data\\selected\\"+topic+"\\sum\\strength";
		String k_coreLocation = "C:\\Users\\Amos\\workspace\\Data\\selected\\"+topic+"\\sum\\k_core";
		String w_cutLocation = "C:\\Users\\Amos\\workspace\\Data\\selected\\"+topic+"\\sum\\wcut";
		String originalTextLocation = "C:\\Users\\Amos\\workspace\\Data\\selected\\"+topic+"\\doc\\";
		int requiredDegree = 2;
		double percentage = 0.5;
		String degreeSummaryLocation ="C:\\Users\\Amos\\workspace\\Data\\selected\\"+topic+"\\sum\\degree";
		String strengthSummaryLocation = "C:\\Users\\Amos\\workspace\\Data\\selected\\"+topic+"\\sum\\strength";
		String k_coreSummaryLocation = "C:\\Users\\Amos\\workspace\\Data\\selected\\"+topic+"\\sum\\k_core";
		String weightCutLocation = "C:\\Users\\Amos\\workspace\\Data\\selected\\"+topic+"\\sum\\wcut";
		
		
		FileCalculator fileCalculator = new FileCalculator();
		/*fileCalculator.selectTopFiftyDegree(location, degreeSummaryLocation, percentage);
		fileCalculator.selectTopStrength(location, strengthSummaryLocation, percentage);
		fileCalculator.convertK_Core_Node(location, k_coreSummaryLocation, percentage, requiredDegree);
		fileCalculator.convertWeightCutNode(location, weightCutLocation, percentage, requiredDegree, requiredWeight);*/
		
		fileCalculator.generateDegreeSummary(graphLocation, degreeSummaryLocation, percentage, originalTextLocation, false);
		
		
	}
	
}
